#ifndef LOGGER_H
#define LOGGER_H

#include <QIODevice>

class Logger
{
public:
    virtual void write(const QString& str) = 0;


    Logger& operator<<(const QString& str);
    Logger& operator<<(int nb);
    Logger& operator<<(double nb);
    Logger& operator<<(float nb);

};

#endif // LOGGER_H
